package com.hoo.entity.account;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;

import org.apache.ibatis.type.Alias;
 
@Entity
@Alias("account")
public class Account implements Serializable {
 
    private static final long serialVersionUID = -7970848646314840509L;
    private Integer accountId;
    private Integer status;
    private String username;
    private String password;
    private String salt;
    private String email;
    private Integer roleId;
    private Integer loginCount;
    private String curLoginIp;
    private String curLoginIpDisplay;
    private Date curLoginTime;
    private String lastLoginIp;
    private String lastLoginIpDisplay;
    private Date lastLoginTime;
    private String usercode;
    private String referer;
    private Date addTime;
    private Date updateTime;
	public Integer getAccountId() {
		return accountId;
	}
	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSalt() {
		return salt;
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public Integer getLoginCount() {
		return loginCount;
	}
	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}
	public String getCurLoginIp() {
		return curLoginIp;
	}
	public void setCurLoginIp(String curLoginIp) {
		this.curLoginIp = curLoginIp;
	}
	public String getCurLoginIpDisplay() {
		return curLoginIpDisplay;
	}
	public void setCurLoginIpDisplay(String curLoginIpDisplay) {
		this.curLoginIpDisplay = curLoginIpDisplay;
	}
	public Date getCurLoginTime() {
		return curLoginTime;
	}
	public void setCurLoginTime(Date curLoginTime) {
		this.curLoginTime = curLoginTime;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public String getLastLoginIpDisplay() {
		return lastLoginIpDisplay;
	}
	public void setLastLoginIpDisplay(String lastLoginIpDisplay) {
		this.lastLoginIpDisplay = lastLoginIpDisplay;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getUsercode() {
		return usercode;
	}
	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}
	public String getReferer() {
		return referer;
	}
	public void setReferer(String referer) {
		this.referer = referer;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
    
   
}